﻿ 
 
using System;
using System.Collections.Generic;
namespace Base.WCS.Common {
    public abstract class AbsStatus 
    {
        public String eId;
        public int id;
        public DateTime time { get; set; }
        protected AbsStatus(int id)   {
           Type t= this.GetType();
        
            eId = t.Name + id;
            this.id = id;
            time = DateTime.Now;
        }
     
        
 
         public long getLastTime() {
            return time.Ticks;
        }
        //没有异常，且垛机没有工作
      
  
       


        public virtual void publish() { 
        
        }

    }
}
